gdk: Drop _gdk_windowing_args
authorMatthias Clasen <mclasen@redhat.com>
Wed, 27 May 2020 00:13:13 +0000 (20:13 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 27 May 2020 00:13:13 +0000 (20:13 -0400)
We are no longer parsing commandline args, so this
was a useless leftover that was still defined in
the win32 backend.

gdk/gdkinternals.h
gdk/win32/gdkmain-win32.c

index 419a0e6e8b76c7046950979cd30bac8e1821377d..f39bd20f8a6ecc8007f1c22442fc833bdda84f6e 100644 (file)
@@ -197,8 +197,6 @@ void       gdk_surface_leave_monitor (GdkSurface *surface,
 
 void _gdk_cursor_destroy (GdkCursor *cursor);
 
-extern const GOptionEntry _gdk_windowing_args[];
-
 void _gdk_windowing_got_event                (GdkDisplay       *display,
                                               GList            *event_link,
                                               GdkEvent         *event,
index ad803465526ff938be5d5bf2b7ad171269e59cb6..4f1f77ce54d74b5b038b0ba6b2ab133e386e64f2 100644 (file)
@@ -51,21 +51,6 @@ static gboolean gdk_synchronize = FALSE;
 
 static gboolean dummy;
 
-const GOptionEntry _gdk_windowing_args[] = {
-  { "sync", 0, 0, G_OPTION_ARG_NONE, &gdk_synchronize,
-    /* Description of --sync in --help output */              N_("Don’t batch GDI requests"), NULL },
-  { "no-wintab", 0, 0, G_OPTION_ARG_NONE, &_gdk_input_ignore_wintab,
-    /* Description of --no-wintab in --help output */         N_("Don’t use the Wintab API for tablet support"), NULL },
-  { "ignore-wintab", 0, 0, G_OPTION_ARG_NONE, &_gdk_input_ignore_wintab,
-    /* Description of --ignore-wintab in --help output */     N_("Same as --no-wintab"), NULL },
-  { "use-wintab", 0, 0, G_OPTION_ARG_NONE, &dummy,
-    /* Description of --use-wintab in --help output */     N_("Do use the Wintab API [default]"), NULL },
-  { "max-colors", 0, 0, G_OPTION_ARG_INT, &_gdk_max_colors,
-    /* Description of --max-colors=COLORS in --help output */ N_("Size of the palette in 8 bit mode"),
-    /* Placeholder in --max-colors=COLORS in --help output */ N_("COLORS") },
-  { NULL }
-};
-
 void
 _gdk_win32_surfaceing_init (void)
 {